const db = require("../db");

module.exports = db.defineModel("nideshop_address", {
    name: db.STRING(100),
    address: db.STRING(100),
    mobile: db.STRING(11),
    isDefault: {
        type: db.INTEGER(1),
        field: "is_default"
    },
    addressDetail: {
        type: db.STRING(100),
        field: "address_detail"
    }
});
